$(function () {
   obj.init();
});
var obj = new function () {
    'use strict';
    return {
        iProdId:null,
        inList:null,
        outList:null,
        init:function () {
            this.iProdId = xhTool.getQuery('iProdId');
            this.inList = new xhDataGrid($('#resInList'), 'ims/detail/getIn/true', {iProdId:this.iProdId});
            this.inList.init().parseToolbar();
            this.outList = new xhDataGrid($('#resOutList'), 'ims/detail/getOut/true', {iProdId:this.iProdId});
            this.outList.init().parseToolbar();
            this.listener();
        },
        listener:function () {
            var $this = this;

        },
        funObj:function () {
            var $this = this;
            return {

            }
        }
    }
};